﻿#ifndef CMDAPPPRJFILEWRITE_H
#define CMDAPPPRJFILEWRITE_H

#include "CommandManager/CommandBase.h"

namespace PostCommand
{
    class CmdAppPrjFileWrite : public CommandManager::CommandBase
    {
        Q_OBJECT

    public:
        CmdAppPrjFileWrite();
        ~CmdAppPrjFileWrite();

        bool execute() override;
        void undo() override;
        void redo() override;
        void setFileName(QString fileName) { m_fileName = fileName; }

    private:
        QString m_fileName;

    };
}

#endif // !CMDAPPPRJFILEWRITE_H


